package impl

import (
	"context"

	"gitee.com/aviptle/goclean/ddd1125/blog"
	"gitee.com/aviptle/goclean/ddd1125/tag"
)

func NewImpl(tag tag.Service) *Impl {
	return &Impl{
		tag: tag,
	}
}

type Impl struct {
	tag tag.Service
}

func (i *Impl) CreateBlog(ctx context.Context, req *blog.CreateBlogRequest) (
	*blog.Blog, error) {
	i.tag.Query(ctx, tag.NewQueryRequest(1))
	return nil, nil
}
